package net.pulseproject.commons.midi.entity;

import java.io.Serializable;
import java.util.Comparator;

public class DeviceComparator implements Comparator<Device>, Serializable {

	private static final long serialVersionUID = -2756686732143234997L;

	@Override
	public final int compare(final Device device1, final Device device2) {
		return device1.getPortName().compareTo(device2.getPortName());
	}

}
